import request from "@/utils/request"
export default {
    createStaticsByDate(day){
        return request({
            url:`http://127.0.0.1:8117/api/statics/create/${day}`,
            method:'post'
        })
    },
    showEcharts(begin,end){
        return request({
            url:`http://localhost:8117/api/statics/chart/${begin}/${end}`,
            method:'get'
        })
    }
}